package com.ciwong.epaper.modules.evaluate.bean;

import com.ciwong.mobilelib.bean.BaseBean;

/**
 * 用于分享
 * Created by lzr on 2017/6/2.
 */
public class ShareBean extends BaseBean {
    private int workStatus = 1;

    private String score;

    private String title;

    private String url;

    /**
     * moduleId = 5(单元测试)/7(时文)/10(同步跟读)/15(听说模考)/30(报听写)/126(视频讲解)/124(线上作答)
     */
    public int moduleId;

    public String doworkId;//做过的作业唯一标记
    // lzh 添加属性  pageType来自哪个页面（结果页，还是详情页）
    private PageType pageType;
    /**
     * // lzh 添加属性
     * 对应ShareMsgObj 中sharetype
     * public static final int SHARE_TEXT=1;//文字
     * public static final int SHARE_IMAGE=2;//图片
     * public static final int SHARE_MP3=3;//音乐
     * public static final int SHARE_VIEDO=4;//视频
     * public static final int SHARE_WEB=5;//网页
     */
    private int shareType;

    private String fileLocalPath;

    // lzh 添加属性 分享图片类型时添加 本地路径
    public String getFileLocalPath() {
        return fileLocalPath;
    }

    public void setFileLocalPath(String fileLocalPath) {
        this.fileLocalPath = fileLocalPath;
    }


    public PageType getPageType() {
        return pageType;
    }

    public void setPageType(PageType pageType) {
        this.pageType = pageType;
    }

    public int getShareType() {
        return shareType;
    }

    public void setShareType(int shareType) {
        this.shareType = shareType;
    }


    public String getDoWorkId() {
        return doworkId;
    }

    public void setDoWorkId(String doworkId) {
        this.doworkId = doworkId;
    }

    public int getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(int workStatus) {
        this.workStatus = workStatus;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setModuleId(int moduleId) {
        this.moduleId = moduleId;
    }

    public String getScore() {
        return score;
    }

    public String getTitle() {
        return title;
    }

    public String getUrl() {
        return url;
    }

    public int getModuleId() {
        return moduleId;
    }

    public enum PageType {
        RESULT,//结果页
        DETAIL//详情页
    }
}
